package com.wuming.house.service;

import com.wuming.house.model.Activity;
import com.wuming.house.model.Decorate;

import java.util.List;

/**
 * @author xuhuai
 * @createTime 2019/8/27 18:58
 * @Description:
 */
public interface ActivityService {

    List<Activity> getActivitiesByPage(String title, String source, int pageIndex, int pageSize);

    int getTotal(String title, String source);

    Activity getActivityById(Integer id);

    void saveActivity(Activity activity);

    void modifyActivity(Activity activity);

    void delete(Integer id);
}
